<?php
/*
 * Created on 13.08.2008
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 defined( '_JEXEC' ) or die ('Restricted access' );
 class HTML_Amoquiz
 {
 	function editQuiz($row, $lists, $option)
 	{
 		$editor =& JFactory::getEditor();
 		?>
 		<form action="index.php" method="post" name="adminForm" id="adminForm">
 		<fieldset class="adminForm">
 		<legend>Details</legend>
 		<table class="admintable">
 			<tr>
 				<td>Title</td>
 				<td><input class="text_area" type="text" name="title" id="title" size="50" 
 				maxlength="50" value="<?php echo $row->title;?>" /></td>
 			</tr>
 			<tr>
 				<td>Description</td>
 				<td><?php echo $editor->display('description', $row->description, '100%', '150', '40', '5'); ?></td>
 			</tr>
 			<tr>
 				<td>Published</td>
 				<td><?php echo $lists['published']; ?></td>
 			</tr>
 		</table>
 		</fieldset>
 		<input type="hidden" name="id" value="<?php echo $row->id; ?>"	/>
 		<input type="hidden" name="option" value="<?php echo $option; ?>" />
 		<input type="hidden" name="task" value="" />
 		</form>
<?php 		
 	}
 }
?>
